<g:setProvider library="jquery"/>
<nav:resources/>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="layout" content="main_nav" />
     <nav:resources/>
    <title>My Xilin</title>
  </head> 
<body>
      
      <div id="center" class="column"></div>
	<div id="left" class="column">

          <g:if test="${session.roles.contains('ROLE_USER')}">
            <g:render template="userMenu" />
          </g:if>
          <g:if test="${session.roles.contains('ROLE_TEACHER')}">
            <g:render template="teacherMenu" />
          </g:if>
          <g:if test="${session.roles.contains('ROLE_ADMIN')}">
            <g:render template="adminMenu" />
          </g:if>
      </div>
  
 </body>
</html>
